@echo off

rem put this batch file to 'CollectSpider'
rem example: C:\NewsCollector\crawler\CollectSpider
set spider_dir=%~dp0
set PYTHONPATH=%spider_dir%

cd %spider_dir%CollectSpider\controller
python update_status.py